using Adventure;
using GameFramework;
using GameFramework.Event;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class RegisterHeadEventArgs : GameEventArgs
{
    public static readonly int EventId = typeof(RegisterHeadEventArgs).GetHashCode();
    public override int Id => EventId;

    public RegisterHeadData Data { get; private set; }

    public static RegisterHeadEventArgs Create(RegisterHeadData data)
    {
        var vo = ReferencePool.Acquire<RegisterHeadEventArgs>();
        vo.Data = data;      
        return vo;
    }
    public override void Clear()
    {
        Data = null;
    }
}
